#  装饰  装饰器
#  装饰器中传参数
def outer(text):
    def decorate(f):
        def inner(x):
            print(text)
            res = f(x)
            print('over over')
            return res
        return inner
    return decorate
@outer('Action\n')
def eatapple(x):
    print('我吃了{}个苹果'.format(x))
eatapple(10)
print(3<<3)